home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8726 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 66 75 77 2e 65 64 75 2e | 70 6c 21 63 79 66 72 6f |fuw.edu.|pl!cyfro|
|00000030| 6e 65 74 21 6e 65 77 73 | 0a 46 72 6f 6d 3a 20 47 |net!news|.From: G|
|00000040| 72 7a 65 67 6f 72 7a 20 | 5a 79 67 6d 75 6e 74 20 |rzegorz |Zygmunt |
|00000050| 3c 7a 79 67 6d 75 6e 74 | 40 74 70 67 2e 6b 72 61 |<zygmunt|@tpg.kra|
|00000060| 6b 6f 77 2e 70 6c 3e 0a | 53 75 62 6a 65 63 74 3a |kow.pl>.|Subject:|
|00000070| 20 52 65 3a 20 57 72 69 | 74 69 6e 67 20 4d 46 43 | Re: Wri|ting MFC|
|00000080| 20 41 70 70 73 20 77 2f | 6f 20 75 73 69 6e 67 20 | Apps w/|o using |
|00000090| 4d 46 43 20 41 70 70 57 | 69 7a 61 72 64 3f 0a 43 |MFC AppW|izard?.C|
|000000a0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|000000b0| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|000000c0| 3d 75 73 2d 61 73 63 69 | 69 0a 54 6f 3a 20 52 6f |=us-asci|i.To: Ro|
|000000d0| 67 65 72 20 4c 20 43 6f | 73 74 65 6c 6c 6f 20 3c |ger L Co|stello <|
|000000e0| 63 6f 73 74 65 6c 6c 6f | 40 6d 62 75 6e 69 78 2e |costello|@mbunix.|
|000000f0| 6d 69 74 72 65 2e 6f 72 | 67 3e 0a 4d 65 73 73 61 |mitre.or|g>.Messa|
|00000100| 67 65 2d 49 44 3a 20 3c | 33 31 33 31 37 36 42 33 |ge-ID: <|313176B3|
|00000110| 2e 35 33 43 35 40 74 70 | 67 2e 6b 72 61 6b 6f 77 |.53C5@tp|g.krakow|
|00000120| 2e 70 6c 3e 0a 53 65 6e | 64 65 72 3a 20 6e 65 77 |.pl>.Sen|der: new|
|00000130| 73 40 63 79 66 2d 6b 72 | 2e 65 64 75 2e 70 6c 20 |s@cyf-kr|.edu.pl |
|00000140| 28 4e 65 77 73 20 41 64 | 6d 69 6e 69 73 74 72 61 |(News Ad|ministra|
|00000150| 74 6f 72 29 0a 4e 6e 74 | 70 2d 50 6f 73 74 69 6e |tor).Nnt|p-Postin|
|00000160| 67 2d 48 6f 73 74 3a 20 | 6d 61 69 6c 73 72 76 2e |g-Host: |mailsrv.|
|00000170| 74 70 67 2e 6b 72 61 6b | 6f 77 2e 70 6c 0a 43 6f |tpg.krak|ow.pl.Co|
|00000180| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|00000190| 6e 63 6f 64 69 6e 67 3a | 20 37 62 69 74 0a 4f 72 |ncoding:| 7bit.Or|
|000001a0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 54 68 65 20 |ganizati|on: The |
|000001b0| 50 6f 6c 69 73 68 65 64 | 20 47 72 6f 75 70 2c 20 |Polished| Group, |
|000001c0| 4c 74 64 2e 0a 52 65 66 | 65 72 65 6e 63 65 73 3a |Ltd..Ref|erences:|
|000001d0| 20 3c 34 67 66 76 6f 75 | 24 72 74 39 40 6c 69 6e | <4gfvou|$rt9@lin|
|000001e0| 75 73 2e 6d 69 74 72 65 | 2e 6f 72 67 3e 0a 4d 69 |us.mitre|.org>.Mi|
|000001f0| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|00000200| 44 61 74 65 3a 20 4d 6f | 6e 2c 20 32 36 20 46 65 |Date: Mo|n, 26 Fe|
|00000210| 62 20 31 39 39 36 20 30 | 39 3a 30 30 3a 33 35 20 |b 1996 0|9:00:35 |
|00000220| 47 4d 54 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |GMT.X-Ma|iler: Mo|
|00000230| 7a 69 6c 6c 61 20 32 2e | 30 20 28 57 69 6e 39 35 |zilla 2.|0 (Win95|
|00000240| 3b 20 49 29 0a 0a 52 6f | 67 65 72 20 4c 20 43 6f |; I)..Ro|ger L Co|
|00000250| 73 74 65 6c 6c 6f 20 77 | 72 6f 74 65 3a 0a 3e 20 |stello w|rote:.> |
|00000260| 0a 3e 20 48 69 20 46 6f | 6c 6b 73 2c 0a 3e 20 20 |.> Hi Fo|lks,.> |
|00000270| 20 20 49 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 | I woul|d like t|
|00000280| 6f 20 77 72 69 74 65 20 | 61 20 73 69 6d 70 6c 65 |o write |a simple|
|00000290| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 75 73 69 | applica|tion usi|
|000002a0| 6e 67 20 74 68 65 20 4d | 46 43 20 6c 69 62 72 61 |ng the M|FC libra|
|000002b0| 72 79 2e 0a 3e 20 49 20 | 64 6f 6e 27 74 20 77 61 |ry..> I |don't wa|
|000002c0| 6e 74 20 74 6f 20 75 73 | 65 20 74 68 65 20 4d 46 |nt to us|e the MF|
|000002d0| 43 20 41 70 70 57 69 7a | 61 72 64 2e 20 20 53 6f |C AppWiz|ard. So|
|000002e0| 2c 20 77 68 61 74 20 73 | 68 6f 75 6c 64 20 74 68 |, what s|hould th|
|000002f0| 65 20 70 72 6f 6a 65 63 | 74 0a 3e 20 74 79 70 65 |e projec|t.> type|
|00000300| 20 62 65 20 2d 20 41 70 | 70 6c 69 63 61 74 69 6f | be - Ap|plicatio|
|00000310| 6e 2c 20 6f 72 20 43 6f | 6e 73 6f 6c 65 2c 20 6f |n, or Co|nsole, o|
|00000320| 72 20 73 6f 6d 65 74 68 | 69 6e 67 20 65 6c 73 65 |r someth|ing else|
|00000330| 3f 20 20 41 72 65 20 74 | 68 65 72 65 20 61 6e 79 |? Are t|here any|
|00000340| 0a 3e 20 22 67 6f 74 63 | 68 61 73 22 20 74 6f 20 |.> "gotc|has" to |
|00000350| 62 65 20 61 77 61 72 65 | 20 6f 66 20 77 68 65 6e |be aware| of when|
|00000360| 20 77 72 69 74 69 6e 67 | 20 4d 46 43 20 61 70 70 | writing| MFC app|
|00000370| 6c 69 63 61 74 69 6f 6e | 73 20 77 69 74 68 6f 75 |lication|s withou|
|00000380| 74 20 75 73 69 6e 67 0a | 3e 20 74 68 65 20 4d 46 |t using.|> the MF|
|00000390| 43 20 41 70 70 57 69 7a | 61 72 64 3f 0a 3e 20 0a |C AppWiz|ard?.> .|
|000003a0| 3e 20 54 68 61 6e 6b 73 | 2e 20 20 2f 52 6f 67 65 |> Thanks|. /Roge|
|000003b0| 72 0a 0a 0a 50 72 6f 6a | 65 63 74 20 74 79 70 65 |r...Proj|ect type|
|000003c0| 3a 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0a 20 |: Applic|ation.. |
|000003d0| 0a 31 29 09 44 65 66 69 | 6e 65 20 79 6f 75 72 20 |.1).Defi|ne your |
|000003e0| 6f 77 6e 20 63 6c 61 73 | 73 20 0a 09 43 4d 79 41 |own clas|s ..CMyA|
|000003f0| 70 70 20 3a 20 43 57 69 | 6e 41 70 70 20 7b 2e 2e |pp : CWi|nApp {..|
|00000400| 2e 7d 0a 0a 32 29 09 44 | 65 66 69 6e 65 20 79 6f |.}..2).D|efine yo|
|00000410| 75 72 20 6d 61 69 6e 20 | 77 69 6e 64 6f 77 20 63 |ur main |window c|
|00000420| 6c 61 73 73 2e 0a 09 43 | 4d 79 4d 61 69 6e 57 6e |lass...C|MyMainWn|
|00000430| 64 20 3a 20 43 57 6e 64 | 20 7b 2e 2e 2e 7d 0a 0a |d : CWnd| {...}..|
|00000440| 33 29 09 44 65 66 69 6e | 65 20 6d 65 74 68 6f 64 |3).Defin|e method|
|00000450| 20 61 73 20 66 6f 6c 6c | 6f 77 73 0a 09 42 4f 4f | as foll|ows..BOO|
|00000460| 4c 20 43 4d 79 41 70 70 | 3a 3a 49 6e 69 74 49 6e |L CMyApp|::InitIn|
|00000470| 73 74 61 6e 63 65 28 29 | 0a 09 7b 0a 09 09 2e 2e |stance()|..{.....|
|00000480| 2e 0a 09 09 6d 5f 70 4d | 61 69 6e 57 6e 64 3d 6e |....m_pM|ainWnd=n|
|00000490| 65 77 20 43 4d 79 4d 61 | 69 6e 57 6e 64 3b 0a 09 |ew CMyMa|inWnd;..|
|000004a0| 09 6d 5f 70 4d 61 69 6e | 57 6e 64 2d 3e 53 68 6f |.m_pMain|Wnd->Sho|
|000004b0| 77 57 69 6e 64 6f 77 28 | 53 57 5f 53 48 4f 57 29 |wWindow(|SW_SHOW)|
|000004c0| 3b 0a 09 09 2e 2e 2e 0a | 09 7d 0a 0a 2d 2d 20 0a |;.......|.}..-- .|
|000004d0| 47 72 7a 65 67 6f 72 7a | 20 5a 79 67 6d 75 6e 74 |Grzegorz| Zygmunt|
|000004e0| 0a 53 6f 66 74 77 61 72 | 65 20 45 6e 67 69 6e 65 |.Softwar|e Engine|
|000004f0| 65 72 0a 54 68 65 20 50 | 6f 6c 69 73 68 65 64 20 |er.The P|olished |
|00000500| 47 72 6f 75 70 2c 20 4c | 74 64 2e 0a 65 6d 61 69 |Group, L|td..emai|
|00000510| 6c 3a 20 7a 79 67 6d 75 | 6e 74 40 74 70 67 2e 6b |l: zygmu|nt@tpg.k|
|00000520| 72 61 6b 6f 77 2e 70 6c | 0a |rakow.pl|. |
+--------+-------------------------+-------------------------+--------+--------+